// Model binder for use with ASL widgets
// Copyright 2005 (C) Ralph Thomas

#ifndef MODEL_PROXY_BINDER_H
#define MODEL_PROXY_BINDER_H

#include <adobe/adam.hpp>
#include <adobe/value.hpp>
#include <adobe/dictionary.hpp>

namespace model {
	//
	/// Create a new-style model binder.
	///
	/// \param	parameters	a dictionary of parameters to create
	///				the new model binder with.
	/// \param	sheet		the sheet to bind against for things.
	/// \return	a new model binder wrapped in a value.
	//
	adobe::value_t make_model_binder( const adobe::dictionary_t& parameters,
		adobe::sheet_t& sheet );
};

#endif

